<!--
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2023-10-15 22:33:41
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2023-10-15 23:05:48
 * @FilePath: \interview\css样式\aaa.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background: #789455;
            background-attachment:fixed;
        }
        .a{
            margin: 10px auto;
            border-radius: 6px;
            height: 100px;
            width: 800px;
            background-color: transparent;
            /*circle at 20px: 确定孔的形状和位置
            transparent 8px: 确定孔的颜色和大小
            rgb(255, 255, 255) 0px: 确定其他区域的颜色 */
            background-image: radial-gradient(circle at 40px, transparent 28px,rgb(255, 255, 255) 0px);
        }
        .b{
            margin: 10px auto;
            border-radius: 6px;
            height: 300px;
            width: 300px;
            background-color: transparent;
            /*circle at 20px: 确定孔的形状和位置
            transparent 8px: 确定孔的颜色和大小
            rgb(255, 255, 255) 0px: 确定其他区域的颜色 */
            background-image: radial-gradient(circle at 150px -320px, transparent 400px,rgb(6, 6, 6) 0px);
            z-index: 9999;
        }
        .b::after{
            content: "";
            width: 300px;
            height: 300px;
            position: absolute;
            background-color: rgb(205, 230, 92);
            z-index: -1;
        }
    </style>
</head>
<body>
    <div class="a"></div>
    <div class="a"></div>
    <div class="b"></div>    
</body>
</html>
